(C++) Check for inner pointers of C++ containers used after re/deallocation.